package com.qianhui.pojo;

import java.sql.Timestamp;

/**
 * CommissionDetailRecord entity. @author MyEclipse Persistence Tools
 */

public class CommissionDetailRecord implements java.io.Serializable
{

    // Fields

    private String recordId;
    private String buyerId;
    private String orderId;
    private String goodsId;
    private Integer goodsNumber;
    private Double buyerCommission;
    private Timestamp recordTime;

    // Constructors

    /**
     * default constructor
     */
    public CommissionDetailRecord()
    {
    }

    /**
     * full constructor
     */
    public CommissionDetailRecord(String recordId, String buyerId, String orderId, String goodsId, Integer goodsNumber, Double buyerCommission, Timestamp recordTime)
    {
        this.recordId = recordId;
        this.buyerId = buyerId;
        this.orderId = orderId;
        this.goodsId = goodsId;
        this.goodsNumber = goodsNumber;
        this.buyerCommission = buyerCommission;
        this.recordTime = recordTime;
    }

    // Property accessors

    public String getRecordId()
    {
        return this.recordId;
    }

    public void setRecordId(String recordId)
    {
        this.recordId = recordId;
    }

    public String getBuyerId()
    {
        return this.buyerId;
    }

    public void setBuyerId(String buyerId)
    {
        this.buyerId = buyerId;
    }

    public String getOrderId()
    {
        return this.orderId;
    }

    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getGoodsId()
    {
        return this.goodsId;
    }

    public void setGoodsId(String goodsId)
    {
        this.goodsId = goodsId;
    }

    public Integer getGoodsNumber()
    {
        return this.goodsNumber;
    }

    public void setGoodsNumber(Integer goodsNumber)
    {
        this.goodsNumber = goodsNumber;
    }

    public Double getBuyerCommission()
    {
        return this.buyerCommission;
    }

    public void setBuyerCommission(Double buyerCommission)
    {
        this.buyerCommission = buyerCommission;
    }

    public Timestamp getRecordTime()
    {
        return this.recordTime;
    }

    public void setRecordTime(Timestamp recordTime)
    {
        this.recordTime = recordTime;
    }

    @Override
    public String toString()
    {
        return "CommissionDetailRecord [recordId=" + recordId + ", buyerId=" + buyerId + ", orderId=" + orderId + ", goodsId=" + goodsId + ", goodsNumber=" + goodsNumber + ", buyerCommission=" + buyerCommission + ", recordTime=" + recordTime + "]";
    }

}